<!--<?php
require_once template('header'); 
print <<<EOT
<!--右边开始-->
<div id="right">
	<form name="mvmmall" action="" method="post">
	<input type="hidden" name="setp" value="1"/>
	<input type="hidden" name="id" value="1"/>
	<table cellpadding="0" cellspacing="1" class="list1">
		<tr><th colspan="2">$lang[payment_install]</th></tr>
		<tr >
			<td class="td_left1" width="60%">$lang[name]</td>
			<td><input type="text" name="pay_name" id="pay_name" value="$name" size="45" maxlength="20" class="text" /></td>
		</tr>
		<tr >
			<td class="td_left1">$lang[description]</td>
			<td><textarea name="pay_desc" id="pay_desc" rows="5" cols="35" class="text">$desc</textarea></td>
		</tr>
<!--
EOT;
foreach ($fields as $key=>$val){
print <<<EOT
-->			
		<tr >
			<td class="td_left1">$val[label]</td>
			<td><input type="text" name="$val[name]" id="passport_api" value="$val[value]" size="45" class="text" /></td>
		</tr>
		
<!--
EOT;
} print <<<EOT
-->
	</table>
	<div id="tfoot"><input type="submit" name="Submit" value="&nbsp;$lang[submit]&nbsp;" onclick="" /> <input type="reset" name="reset" value="&nbsp;$lang[reset]&nbsp;" /></div>
	</form>
</div>
<!--
EOT;
?>-->